<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Bezdelnick
 * Date: 11.04.13
 * Time: 16:34
 * To change this template use File | Settings | File Templates.
 */

include("common/header.php");

require_once("Config.php");
?>

<div id="admin-navig-tabs">
    <ul>
        <li><a href="#tabs-1">Фильмы</a></li>
        <li><a href="#tabs-2">Жанры</a></li>
        <li><a href="#tabs-3">Актеры</a></li>
        <li><a href="#tabs-4">Страны</a></li>
        <li><a href="#tabs-5">Новости</a></li>
    </ul>
    <div id="tabs-1">
        <!-- Film -->
        <div class="jquery-button refresh-content-container-link" contentContainerId="film_content_container">
            <?= Lang::REFRESH ?>
        </div>
        <div class="jquery-button" id="add_film_link">Добавить запись</div>
        <div id="film_content_container" class="ajax-content-container" action="operations-film.php"></div>
    </div>
    <div id="tabs-2">
        <!-- Genre -->
        <div class="jquery-button refresh-content-container-link" contentContainerId="genre_content_container">
            <?= Lang::REFRESH ?>
        </div>
        <div class="jquery-button" id="add_genre_link">Добавить запись</div>
        <div id="genre_content_container" class="ajax-content-container" action="operations-genre.php"></div>
    </div>
    <div id="tabs-3">
        <!-- Actor -->
        <div class="jquery-button refresh-content-container-link" contentContainerId="actor_content_container">
            <?= Lang::REFRESH ?>
        </div>
        <div class="jquery-button" id="add_actor_link">Добавить запись</div>
        <div id="actor_content_container" class="ajax-content-container" action="operations-actor.php"></div>
    </div>
    <div id="tabs-4">
        <!-- Country -->
        <div class="jquery-button refresh-content-container-link" contentContainerId="country_content_container">
            <?= Lang::REFRESH ?>
        </div>
        <div class="jquery-button" id="add_country_link">Добавить запись</div>
        <div id="country_content_container" class="ajax-content-container" action="operations-country.php"></div>
    </div>
    <div id="tabs-5">
        <!-- News -->
        <div class="jquery-button refresh-content-container-link" contentContainerId="news_content_container">
            <?= Lang::REFRESH ?>
        </div>
        <div class="jquery-button" id="add_news_link">Добавить запись</div>
        <div id="news_content_container" class="ajax-content-container" action="operations-news.php"></div>
    </div>
</div>

<?
include("admin-actors.php");
include("admin-countries.php");
include("admin-genres.php");
include("admin-films.php");
include("admin-news.php");
?>